import request from '@/utils/request'

// 查询学生学习报告列表
export function listStudentreport(data) {
  return request({
    url: '/school/studentreport/list',
    method: 'post',
    data: data
  })
}

// 查询学生学习报告详细
export function getStudentreport(id) {
  return request({
    url: '/school/studentreport/' + id,
    method: 'get'
  })
}

// 新增学生学习报告
export function addStudentreport(data) {
  return request({
    url: '/school/studentreport/add',
    method: 'post',
    data: data
  })
}

// 修改学生学习报告
export function updateStudentreport(data) {
  return request({
    url: '/school/studentreport/edit',
    method: 'post',
    data: data
  })
}

// 删除学生学习报告
export function delStudentreport(id) {
  return request({
    url: '/school/studentreport/remove/' + id,
    method: 'post'
  })
}
